package com.ruoyi.project.emr.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 病历对象 emr_medical_record
 *
 * @author gzu
 * @date 2023-07-22
 */
public class EmrRecordInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病历主键 */
    private String id;

    /** 病历号 */
    @Excel(name = "病历号")
    private String number;

    /** 病人编号 */
    @Excel(name = "患者编号")
    private String patientId;

    /** 病人姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 医生编号 */
    @Excel(name = "医生编号")
    private Integer doctorId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 主述 */
    @Excel(name = "主述")
    private String priDesc;

    /** 现有病史 */
    @Excel(name = "现有病史")
    private String presentIllness;

    /** 现病史治疗情况 */
    @Excel(name = "现病史治疗情况")
    private String presentMedicalCondition;

    /** 会诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "会诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;


    @Override
    public String toString() {
        return "EmrRecordInfo{" +
                "id='" + id + '\'' +
                ", number='" + number + '\'' +
                ", patientId='" + patientId + '\'' +
                ", patientName='" + patientName + '\'' +
                ", doctorId=" + doctorId +
                ", doctorName='" + doctorName + '\'' +
                ", priDesc='" + priDesc + '\'' +
                ", presentIllness='" + presentIllness + '\'' +
                ", presentMedicalCondition='" + presentMedicalCondition + '\'' +
                ", date=" + date +
                "} " + super.toString();
    }

    public String getPriDesc() {
        return priDesc;
    }

    public void setPriDesc(String priDesc) {
        this.priDesc = priDesc;
    }

    public String getPresentIllness() {
        return presentIllness;
    }

    public void setPresentIllness(String presentIllness) {
        this.presentIllness = presentIllness;
    }

    public String getPresentMedicalCondition() {
        return presentMedicalCondition;
    }

    public void setPresentMedicalCondition(String presentMedicalCondition) {
        this.presentMedicalCondition = presentMedicalCondition;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }
}
